package strain;

public class IdGenerator {
    
    private static int nextId = 1;
    
    public static synchronized int getNextId(){
        return nextId++;
    }
    
}
